dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
78ef918
)
Remove unused key in WANObjectCache::newEmpty()
author
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 8 Jun 2017 14:27:14 +0000
(07:27 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 8 Jun 2017 14:27:14 +0000
(07:27 -0700)
Change-Id: I5d11736b95fbba1debcf80f80cbdb4753caf15f7
includes/libs/objectcache/WANObjectCache.php
patch
|
blob
|
history
diff --git
a/includes/libs/objectcache/WANObjectCache.php
b/includes/libs/objectcache/WANObjectCache.php
index
423d43e
..
6fbe898
100644
(file)
--- a/
includes/libs/objectcache/WANObjectCache.php
+++ b/
includes/libs/objectcache/WANObjectCache.php
@@
-202,8
+202,7
@@
class WANObjectCache implements IExpiringStore, LoggerAwareInterface {
public static function newEmpty() {
return new self( [
'cache' => new EmptyBagOStuff(),
public static function newEmpty() {
return new self( [
'cache' => new EmptyBagOStuff(),
- 'pool' => 'empty',
- 'relayer' => new EventRelayerNull( [] )
+ 'pool' => 'empty'
] );
}
] );
}